package com.genITeam.ria.bl;

public class PostBL {
	public PostBL(){
		
	}
/*	
	public static void main(String  a[]){
		
		
		PostBL.savePost("2","2","2","2");
	}
	

	public void savePost(String cBy, String fId, String sTitle, String body)
	{
		PostDAO postDAO = new PostDAO();
		System.out.println(cBy+fId+sTitle+body);
	
		ThreadPostVo threadPostVo = new ThreadPostVo();
		postVo.setCreatedBy(cBy);
		//threadVo.setId(100);
		
		postVo.setCreationDate(Utility.getCurrentDate());
		postVo.setForumId(1);
		postVo.setTitle(sTitle);
		postVo.setBody(body);
	  	
		
		
		threadPostVo.setPostId(1);
		threadPostVo.setNoOfView(0);			
		threadPostVo.setTitle(title);
		threadPostVo.setMessage(message);
		threadPostVo.setPostDate(Utility.getCurrentDate());
		threadPostVo.setIsLeaf("true");
		threadPostVo.setPostType("P");
		threadPostVo.setParentId(1);
		threadPostVo.setMemberId(1);
		
		postDAO.savePost(postVo);
	}	
*/
}
